package com.ylb.rent.service;

import com.ylb.rent.entity.Role;
import com.ylb.rent.entity.vo.RoleVo;

import java.util.List;

/**
 * @AUTHOR:游李滨
 * @DATE:2023/6/28 21:29
 */
public interface IRoleService {

    List<Role> getAllRole();
    RoleVo getRoleVoById(long id);
    RoleVo getRoleByUserId(long userId);

    int insert(RoleVo roleVo);


}
